.PHONY:all
all:mycommend otherExec 

mycommend:mycommend.c
	gcc -o $@ $^ -std=c99
otherExec:otherExec.cpp
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f mycommend otherExec 
